package com.cai.oamanager.service;

import com.cai.oamanager.entity.Course;
import com.cai.oamanager.entity.Curricu;
import com.cai.oamanager.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/3/3 10 : 29
 * @package：com.cai.oamanager.service
 */
public interface CurricuService {

    List<Curricu> getCurricus(String pid,Integer start,Integer size);

    void addCurricu(Curricu curricu);

    void updateCurricu(Curricu curricu);

    List<Student> getStudents(String teacherId);

    Curricu getOneCurricu(Integer stuId, Integer courseId);

    List<Curricu> getAllCurricus(String pid,Integer courseId);

    /*******/
    List<Course> getCourse(String semester, String year);

    List<Curricu> getCurricuStudent(Integer stuId,String semester,String year);
}
